package com.online.service.impl;

import com.online.entity.PaperManage;
import com.online.mapper.PaperManageMapper;
import com.online.service.PaperManageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PaperManageServiceImpl implements PaperManageService {
    @Autowired
    private PaperManageMapper paperManageMapper;

    @Override
    public List<PaperManage> findAll() {
        return paperManageMapper.findAll();
    }

    @Override
    public int add(PaperManage paperManage) {
        return paperManageMapper.add(paperManage);
    }
}
